package com.ws.genercity.demo04;

/**
 * @author 13353
 */
public class MainClass {
    public static void main(String[] args) {
        ChildFirst<String> stringChildFirst = new ChildFirst<>();
        stringChildFirst.setKey("hello world");
        String key = stringChildFirst.getKey();
        System.out.println(key);

        ChildSecond childSecond = new ChildSecond();
        childSecond.setKey(100);
        System.out.println(childSecond.getKey());
    }
}
